package com.synergy.stockflow.team.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 班组排班明细表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "team_scheduling_detail")
public class TeamSchedulingDetail {
    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 关联计划编号
     */
    @TableField(value = "plan_id")
    private String planId;

    /**
     * 关联班组编号
     */
    @TableField(value = "team_id")
    private String teamId;

    /**
     * 排班日期
     */
    @TableField(value = "scheduling_date")
    private Date schedulingDate;

    /**
     * 班次信息（如早班、晚班等）
     */
    @TableField(value = "shift_info")
    private String shiftInfo;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
}